package com.ruoyi.od_organizer.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.od_organizer.mapper.OdRegisterMapper;
import com.ruoyi.od_organizer.domain.OdRegister;
import com.ruoyi.od_organizer.service.IOdRegisterService;

/**
 * 报名审核Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-06-30
 */
@Service
public class OdRegisterServiceImpl implements IOdRegisterService 
{
    @Autowired
    private OdRegisterMapper odRegisterMapper;

    /**
     * 查询报名审核
     * 
     * @param id 报名审核主键
     * @return 报名审核
     */
    @Override
    public OdRegister selectOdRegisterById(Long id)
    {
        return odRegisterMapper.selectOdRegisterById(id);
    }

    /**
     * 查询报名审核列表
     * 
     * @param odRegister 报名审核
     * @return 报名审核
     */
    @Override
    public List<OdRegister> selectOdRegisterList(OdRegister odRegister)
    {
        return odRegisterMapper.selectOdRegisterList(odRegister);
    }

    /**
     * 新增报名审核
     * 
     * @param odRegister 报名审核
     * @return 结果
     */
    @Override
    public int insertOdRegister(OdRegister odRegister)
    {
        return odRegisterMapper.insertOdRegister(odRegister);
    }

    /**
     * 修改报名审核
     * 
     * @param odRegister 报名审核
     * @return 结果
     */
    @Override
    public int updateOdRegister(OdRegister odRegister)
    {
        return odRegisterMapper.updateOdRegister(odRegister);
    }

    /**
     * 批量删除报名审核
     * 
     * @param ids 需要删除的报名审核主键
     * @return 结果
     */
    @Override
    public int deleteOdRegisterByIds(Long[] ids)
    {
        return odRegisterMapper.deleteOdRegisterByIds(ids);
    }

    /**
     * 删除报名审核信息
     * 
     * @param id 报名审核主键
     * @return 结果
     */
    @Override
    public int deleteOdRegisterById(Long id)
    {
        return odRegisterMapper.deleteOdRegisterById(id);
    }

}
